//
//  SEGEditDetailViewController.h
//  ExcellentHome
//
//  Created by 刘山 on 16/11/22.
//  Copyright © 2016年 陈区. All rights reserved.
//
#import "SEGEditJobAndMaleTableViewCell.h"
#import <UIKit/UIKit.h>

static NSString *kEditDetailListCellIdentifier = @"EditDetailListCellIdentifier";

typedef NS_ENUM(NSUInteger, EditDetailShowType) {
    EditDetailShowType_UITextField = 0, // 只支持UITextField
    EditDetailShowType_UITextView = 1, // 只支持UITextView
    EditDetailShowType_UITableView = 2  // 只支持UITableView
};

@protocol EditDetailViewControllerDelegate <NSObject>

- (void)response_DataWithUserInfo:(NSDictionary*)userInfo Params:(NSDictionary*)dict;

@end

@interface SEGEditDetailViewController : UIViewController

/// 界面显示内容
@property (nonatomic, assign) EditDetailShowType showType;
/// cell的类型
@property (nonatomic, assign) EditJobAndMaleType editType;
/// 判断是否从登录页面跳转过来
@property (nonatomic, assign)BOOL isFromLogin;
/// 记录选中的职业id
@property (nonatomic, copy) NSString *recordProfessionId;
/// 可以回传的信息
@property (nonatomic, copy) NSDictionary *userInfo;
/// 记录选中的性别
@property (nonatomic, copy) NSString *recordSex;
/// 填充字
@property (nonatomic, copy) NSString *placeholder;
/// 输入是否允许为空
@property (nonatomic, assign) BOOL isNotEmpty;
/// 文本内容
@property (nonatomic, copy) NSString *contentText;

@property (nonatomic, weak) id<EditDetailViewControllerDelegate> delegate;

@end
